<?php $goods = [
	['id'=>1,'name'=>'iphone'],
	['id'=>2,'name'=>'mini'],
	['id'=>3,'name'=>'moto'],
];?>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<script src='angular.min.js'> </script> 
	</head>
	<body ng-app="hd">
		<div ng-controller='ctrl'>
			<li ng-repeat="v in data">{{v.name}}</li>
		</div>
	</body>
	<script>
		var m = angular.module('hd',[]);
		m.controller('ctrl',['$scope',function($scope){
			$scope.data = angular.fromJson('<?php echo json_encode($goods)?>');
		}]);
	</script>
</html>